import os
from qianfan import resources



# 使用安全认证AK/SK鉴权，通过环境变量方式初始化；替换下列示例中参数，安全认证Access Key替换your_iam_ak，Secret Key替换your_iam_sk
os.environ["QIANFAN_ACCESS_KEY"] = "9BKnfJ9szpZiB4AgRFRnNRip"
os.environ["QIANFAN_SECRET_KEY"] = "GrCiDMHvniDgMwIl9NpmZLCzRSm4IGgQ"

resp = resources.Service.V2.describe_preset_services(
    service_ids=['svcp-7d6044e91474', 'svcp-7940ab471306']
)

print(resp.body)


